package com.meituan.verintreport.db.dto;

import java.util.Date;

public class FormComponentHierarchyDto {
    private Integer revisionId;

    private Integer sectionKey;

    private Integer categoryKey;

    private Integer elementKey;

    private Integer sectionOrderInForm;

    private Integer categoryOrderInSection;

    private Integer elementOrderInCategory;

    private Date creationDate;

    public Integer getRevisionId() {
        return revisionId;
    }

    public void setRevisionId(Integer revisionId) {
        this.revisionId = revisionId;
    }

    public Integer getSectionKey() {
        return sectionKey;
    }

    public void setSectionKey(Integer sectionKey) {
        this.sectionKey = sectionKey;
    }

    public Integer getCategoryKey() {
        return categoryKey;
    }

    public void setCategoryKey(Integer categoryKey) {
        this.categoryKey = categoryKey;
    }

    public Integer getElementKey() {
        return elementKey;
    }

    public void setElementKey(Integer elementKey) {
        this.elementKey = elementKey;
    }

    public Integer getSectionOrderInForm() {
        return sectionOrderInForm;
    }

    public void setSectionOrderInForm(Integer sectionOrderInForm) {
        this.sectionOrderInForm = sectionOrderInForm;
    }

    public Integer getCategoryOrderInSection() {
        return categoryOrderInSection;
    }

    public void setCategoryOrderInSection(Integer categoryOrderInSection) {
        this.categoryOrderInSection = categoryOrderInSection;
    }

    public Integer getElementOrderInCategory() {
        return elementOrderInCategory;
    }

    public void setElementOrderInCategory(Integer elementOrderInCategory) {
        this.elementOrderInCategory = elementOrderInCategory;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", revisionId=").append(revisionId);
        sb.append(", sectionKey=").append(sectionKey);
        sb.append(", categoryKey=").append(categoryKey);
        sb.append(", elementKey=").append(elementKey);
        sb.append(", sectionOrderInForm=").append(sectionOrderInForm);
        sb.append(", categoryOrderInSection=").append(categoryOrderInSection);
        sb.append(", elementOrderInCategory=").append(elementOrderInCategory);
        sb.append(", creationDate=").append(creationDate);
        sb.append("]");
        return sb.toString();
    }
}